﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/TKNTMaster.Master"
    Inherits="System.Web.Mvc.ViewPage<Model.tkntProduct>" %>
    <%@ Import Namespace="UI.Helper" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
<%= Utils.IncludeCSS(this.Html, "~/Content/Slide/nivo-slider.css")%>
<%= Utils.IncludeCSS(this.Html, "~/Content/Slide/themes/default/default.css")%>
<%= Utils.IncludeJS(this.Html, "~/Scripts/jquery-1.4.1.min.js")%>
    <% if(Model != null )
                               { %>
    <div class="bg">
    <% if(!Utils.IsEnglish()) {%>
        <div class="bgWhite">
            <div class="titleBlack">
                <%:Model.ViInvestorName%><br />
                <%:Model.ViInvestorDescription%></div>
            <div class="textBlack">
                <%:Model.ViDescription%></div>
        </div>
        <% } %>
         <% else { %>
         <div class="bgWhite">
            <div class="titleBlack">
                <%:Model.EnInvestorName%><br />
                <%:Model.EnInvestorDescription%>
                </div>
            <div class="textBlack">
                <%:Model.EnDescription%>
        </div> 
        </div>
          <% } %>
        <div class="imgPop">
            
        <div class="slider-wrapper theme-default" >
            <div id="slider" class="nivoSlider">
            <% foreach (var tmp in Model.Images)
                               { %>
                               <% if(tmp.IsAvatar == false)
                               { %>
                <img src="<%= Utils.ResolveUrl(this.Html,"~/Uploads/" + tmp.Url) %>" alt="" />
                <% } %>
                <% } %>
            </div>
            
        </div></div>
    </div>
    <% } %>
    <%= Utils.IncludeJS(this.Html, "~/Content/Slide/jquery-1.6.1.min.js")%>
    <%= Utils.IncludeJS(this.Html, "~/Content/Slide/jquery.nivo.slider.pack.js")%>
    <script type="text/javascript">
        $(window).load(function () {
            $('#slider').nivoSlider();
        });
    </script>
</asp:Content>
